<div id="cartList">
    <ul id="cart-list" class="list">
         
        {{ 
            if (it.items) {
                for(var i=0;i<it.items.length;i++){
        }}
                <li>
                    <a href="/event/cart_detail/{{=it.items[i][0].eventpackageID}}">
                    <img class="avatar" src='{{=BASE_URL3}}{{=it.items[i][0].image}}' style="width:auto;height:35px;">
                    <h4>{{=it.items[i][0].eventpackageTitle}} </h4>
                    <p>{{=it.items[i][0].cart_qty}} x Rp. {{=it.items[i][0].price * 1}}</p>
                    </a>
                </li>
        {{
                }
            }
        }}
    </ul>
</div>
<div id="totalCart"></div>
{{ if (it.items && it.items.length > 0) { }}
<a class="button" href="#" onclick="checkout();" style="width: 100%;" data-appbuilder-object="button" data-transition="slide" id="checkout">Checkout</a>
{{}}}